home *** CD-ROM | disk | FTP | other *** search
- Path: webprod.lehman.com!news
- From: nico@lehman.com (Nick Gianniotis)
- Newsgroups: comp.lang.c++
- Subject: sparcworks CC: how do you supress warnings?
- Date: 19 Apr 1996 10:17:20 +0900
- Organization: Lehman Brothers Japan
- Sender: nico@urchin.tkdev2b.lehman.com
- Message-ID: <w2l20llt3kv.fsf@urchin.tkdev2b.lehman.com>
- NNTP-Posting-Host: urchin.lehman.com
- X-Newsreader: Gnus v5.1
-
- Hi all,
-
- I don't have a copy of the Sparcworks CC compiler documentation handy, and
- I'd like to know how to suppress "defined but not used" warnings, e.g.:
-
- "foo.h", line 5: warning: ::SCCS_ID_Foo_h defined but not used
-
- With gcc/g++, this is done via an annotation or pragma. Is there an
- equivalent method with CC?
-
- TIA,
- Nick
-